// 统一的接口出口文件
// 1 引入子模块api接口
import { login, getSmsCode, getUserInfo, getUserChannels } from './user'
import { getArticles } from './article.js'
import { getAllChannels, addUserChannel, deleteUserChannel } from './channel.js'
// 2 统一导出
export const loginApi = login
export const getSmsCodeApi = getSmsCode
export const getUserInfoApi = getUserInfo
export const getUserChannelsApi = getUserChannels

export const getArticlesApi = getArticles

export const getAllChannelsApi = getAllChannels
export const addUserChannelApi = addUserChannel
export const deleteUserChannelApi = deleteUserChannel
